<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Home Page</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/index.css') }}">
</head>
<body>
    <div class="container">
        <div class="top-right-buttons">
            {% if not current_user.is_authenticated %}
                <a href="{{ url_for('auth.login') }}" class="button">Login</a>
{#                <a href="{{ url_for('auth.register') }}" class="button">Register</a>#}
            {% endif %}
        </div>
        <h1>Welcome to the Home Page</h1>
        {% if current_user.is_authenticated %}
            <div class="rem">
                <p>Hello, {{ current_user.username }}!</p>
                <a href="{{ url_for('auth.logout') }}">Logout</a>
            </div>
            <a href="{{ url_for('main.dashboard') }}" class="button">Dashboard</a>
        {% endif %}
    </div>
</body>
</html>
